<%@tag pageEncoding="UTF-8" isELIgnored="false"  %>
<%@attribute name="menu"%>
<%@attribute name="lay_active"%>
<%@attribute name="id"%>

<%--点击dropbtn，lay_active的事件被触发--%>
<div class="dropdown">
    <a class="dropbtn" href="javascript:;" lay-active="${lay_active}" id="${id}">
        ${menu}
        <i class="layui-icon layui-icon-up"></i>
        <i class="layui-icon layui-icon-down"></i>
    </a>
    <div class="dropdown-content">
        <jsp:doBody/>
    </div>
</div>